package com.kaifamiao.interfaces;

public class Tank implements Moveable {

    @Override
    public void move() {
        LOGGER.info( "坦克正在移动" );
    }

    public static void main(String[] args) {
        // 接口类型的引用变量指向实现类类型的实例(或对象)
        Moveable m = new Tank();
        m.hello();
        m.move();

        // Static method may be invoked on containing interface class only
        // m.welcome();
    }

}
